package com.copa.module.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.copa.domain.PageVo;
import com.copa.domain.ResponseDto;
import com.copa.module.user.domain.entity.UserEntity;
import com.copa.module.user.domain.vo.WechatUserVo;

/**
 * @author copa
 * @createDate 2021-01-05 8:30
 * @function
 */
public interface UserService {

    /**
     * 查询全部用户信息
     * @return
     */
    ResponseDto<IPage<UserEntity>> list(PageVo pageVO);

    ResponseDto<UserEntity> findByUsername(String username);

    ResponseDto<String> login(String code, WechatUserVo wechatUserVo);
}
